DebugShell

DebugShell peripheral interface.

This peripheral allows to enable remote access to the drone debug shell.

This peripheral can be obtained from a drone using: drone.getPeripheral(DebugShell::class.java)

See also

Drone.getPeripheral

Types

Link copied to clipboard
interface State

Debug Shell remote access state.

Properties

Link copied to clipboard
abstract val applying: Boolean

Returns true while a state change is being applied to the drone, false otherwise.

Link copied to clipboard
abstract val state: DebugShell.State

Current state.

Functions

Link copied to clipboard
abstract fun disable()

Disables remote debug shell access.

Link copied to clipboard
abstract fun enable(publicKey: String)

Enables debug shell access for a client with the given publicKey.